﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using pwblog.Entities;
using pwblog.BusinessObject;

namespace pwblog.Web.Blocks
{
    public partial class Categories : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            CategoryBo categoriesBo = new CategoryBo();
            cateRepeater.DataSource = categoriesBo.GetCategories();
            cateRepeater.DataBind();
        }
    }
}